python timestamp shift one day

45

python timestamp shift one day -

from datetime import datetime, timedelta
print datetime.now() + timedelta(days=5, hours=-5)

Comments

Submit
0 Comments